<div class="inner-left">
<div class="col-corn-top">&nbsp;</div>
	<?php  echo $this->callElement("default/common/quicklinks"); ?>
<div class="col-corn-bottom">&nbsp;</div>
</div>
<div class="inner-right">
	<div class="inner">
		<h2><?php echo $this->__("Login"); ?></h2>
		
		
		<form method="post" class="app_form" id="login_form" action="<?php echo $this->baseurl("/member/login"); ?>">
		<ul>
		<?php
			$username = isset($this->data["Member"]["login_id"]) ? $this->data["Member"]["login_id"] : "";
			if($message != ""):
				echo App::Load("Helper/Html")->get_from_row("&nbsp;","<div class=\"message\">{$message}</div>");
			endif;
			echo App::Load("Helper/Html")->get_from_row("Email Address",App::Load("Helper/Html")->inputTag("data[Member][login_id]",$username,array("size"=>"35","class"=>"input",'id'=>'email')) );
			echo App::Load("Helper/Html")->get_from_row("Password",App::Load("Helper/Html")->passwordTag("data[Member][password]","",array("size"=>"35","class"=>"input appPassword",'id'=>'password')) );
			echo App::Load("Helper/Html")->get_from_row("&nbsp;",App::Load("Helper/Html")->submitTag("data[Member][submit]","Login",array("class" => "button")) );
		?>
		</ul>
		</form>
		<?php
			
			echo App::Load("Helper/Javascript")->validation_map(
															Array(
																	'_errBg'=>ERROR_BACKGROUND,
																	'_dflBg'=>'#CFCFCF',
																	'_autoSubmit'=>'false',
																	'_errToolTips'=>'false',
																	'_errorMark' => 'inline'
																)
														);
			echo App::Load("Helper/Javascript")->ajax_submit(array("form_name"=>"#flogin_form","debug"=>"true","auto_hide"=>"true","message_element"=>".fmessage"));
		?>
		
		<br /><br />
		<h2><?php echo $this->__("Forgot Login"); ?></h2>
		<p>
		<span class="fmessage message"></span>
		
		<form method="post" class="app_form app_validation" id="flogin_form" action="<?php echo $this->baseurl("/member/forgotlogin"); ?>">
			<ul>
			<?php
				echo App::Load("Helper/Html")->get_from_row("Email", App::Load("Helper/Html")->inputTag("data[Forgotlogin][login_name]","",array("id"=>"flogin_name","class"=>"input check_notempty","longdesc"=>"Enter your email address")));
				echo App::Load("Helper/Html")->get_from_row("&nbsp;",App::Load("Helper/Html")->submitTag("data[Forgotlogin][button]","Send",array("class"=>"button")));
			?>
			</ul>
		</form>
		</p>
	</div>
</div>